package com.ql.dao.keshi;

import com.ql.pojo.keshi.FangShe;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FangsheMapper {
        int save(FangShe fangShe)throws Exception;

    List<FangShe> qryAll(@Param("start") int start,
                         @Param("end") int end,
                         @Param("name")String queryname
                       ) throws Exception;
    int qryCount(@Param("name")String queryname) throws Exception;

    int del(@Param("fId")int fId) throws Exception;

    FangShe qryFSKByuid(@Param("uid")int uid) throws Exception;
}
